﻿using BookModel;
using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    //读者信息表
    public class ReaderInfoBLL
    {
        #region 查询所有读者信息
        public List<ReaderInfo> GetReaderInfo1()
        {
            return new DAL.ReaderInfoDAL().GetReaderInfo1() ;
        }
        #endregion
        ReaderInfoDAL dal = new ReaderInfoDAL();
        public List<ReaderInfo> GetReaderInfo()
        {
            return dal.GetRead();
        }
        public string ADDReadInfo(ReaderInfo read)
        {
            return dal.ADDReadInfo(read);
        }
        public string UpdateRead(int ReaderID)
        {
            return dal.UpdateRead(ReaderID);
        }
        public List<ReaderInfo> selectread()
        {
            return dal.selectBook();
        }

    }
}
